//
//  ShowScores.h
//  QuizMaster
//
//  Created by Jeppe Nielsen on 4/8/15.
//  Copyright (c) 2015 Jeppe Nielsen. All rights reserved.
//

#pragma once

#include "GameState.hpp"
#include "Game.hpp"
#include "SelectQuestionSystem.hpp"
#include "TransformAnimation.hpp"

class ShowScores : public GameState<Game> {
protected:
    void Initialize();
    void Update(float dt);
    void Render();
    void Enabled();
    void Disabled();
private:
    
    GameObject* CreatePlayerFrame(GameObject** label, GameObject** score);
    
    GameObject* pivot;
    
    GameObject* playerFrame[4];
    GameObject* playerName[4];
    GameObject* playerScore[4];
    
    GameObject* exitButton;
    
    
    
    void ExitButtonClicked(TouchData d);
    
};